class ArticleModel {
  var articleId;
  var content;
  var coverUrl;
  var createTime;
  var desc;
  var module;
  var title;
  var type;
  var updateTime;
  var url;

  ArticleModel(
      {this.articleId,
      this.content,
      this.coverUrl,
      this.createTime,
      this.desc,
      this.module,
      this.title,
      this.type,
      this.updateTime,
      this.url});

  ArticleModel.fromJson(Map<String, dynamic> json) {
    articleId = json['articleId'];
    content = json['content'];
    coverUrl = json['coverUrl'];
    createTime = json['createTime'];
    desc = json['desc'];
    module = json['module'];
    title = json['title'];
    type = json['type'];
    updateTime = json['updateTime'];
    url = json['url'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['articleId'] = this.articleId;
    data['content'] = this.content;
    data['coverUrl'] = this.coverUrl;
    data['createTime'] = this.createTime;
    data['desc'] = this.desc;
    data['module'] = this.module;
    data['title'] = this.title;
    data['type'] = this.type;
    data['updateTime'] = this.updateTime;
    data['url'] = this.url;
    return data;
  }
}